package com.wtwd.device.model.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author mjy
 * @date 2021/09/03
 * @description
 */
@ApiModel(value="SleepInfo对象", description="")
public class SleepInfo {

    /**
     * 睡眠开始时间，单位秒
     */
    @ApiModelProperty(value = "睡眠开始时间，单位秒",required = false)
    private int startTime;

    /**
     * 睡眠类型
     */
    @ApiModelProperty(value = " 睡眠类型",required = false)
    private int sleepType;

    public int getStartTime() {
        return startTime;
    }

    public void setStartTime(int startTime) {
        this.startTime = startTime;
    }

    public int getSleepType() {
        return sleepType;
    }

    public void setSleepType(int sleepType) {
        this.sleepType = sleepType;
    }

    @Override
    public String toString() {
        return "SleepInfo{" +
                "startTime=" + startTime +
                ", sleepType=" + sleepType +
                '}';
    }
}
